package com.cxf.service;

import com.cxf.pojo.Order;

import java.util.List;

public interface OrderService {
	int insertOrder(Order order);
	List<Order> getOrderByUserName(String userName);
    Order getOrderById(Integer id);
    void cancelOrder(Integer orderId);
}
